# !/usr/bin/env python
# coding=utf-8
# @Time    : 2018/1/10 17:04
# @Author  : 6imensiva
# @Site    : https://gitee.com/dimensiva/wx_server.git
# @File    : async_io.py
# @Software: PyCharm
# @Version: 3.5.4
import asyncio
import time


async def hello():
    print("Hello world!")
    await asyncio.sleep(0.00001)
    print("Hello again!")


if __name__ == '__main__':
	aaa = hello()
	print(111)
	aaa.send(None)
	print(222)
	for i in range(0,100):
		print(i)
		time.sleep(1)
		aaa.send(23)
	# time.sleep(3)
	# aaa.send(5453)